import request from '@/utils/request'

// 查询
export function getServiceList(data) {
  return request({
    url: '/system/packageservice/list',
    method: 'get',
    params: data
  })
}

// 新增
export function addService(data) {
  return request({
    url: '/system/packageservice',
    method: 'POST',
    data: data
  })
}

// 修改
export function updateService(data) {
  return request({
    url: '/system/packageservice',
    method: 'PUT',
    data: data
  })
}

// 删除
export function deleteService(ids) {
  return request({
    url: '/system/packageservice/' + ids,
    method: 'delete'
  })
}

